package org.smm.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class BookEntry extends Base {
    private Integer id;//编号
    private Integer categoryId;//分类编号
    private String title;//图书名称
    private String summary;//摘要
    private String uploaduser;//上传人
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createdate;//上传时间


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public String getUploaduser() {
        return uploaduser;
    }

    public void setUploaduser(String uploaduser) {
        this.uploaduser = uploaduser;
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }
}
